import http from '@/request/index';

/**
 * 上级分类下拉
 */
export const ProductCategoryList=(params:IAdminList,id:number|undefined):TRes<IProductCategory>=>http.get(`/productCategory/list/${id}`,{params})
/**
 * 筛选属性列表
 */
export const ProductAttributeCategoryListWithAttr=():TRes<IWithAttrDatum>=>http.get('/productAttribute/category/list/withAttr')